as if by magic